<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$

return [
    'url_route_on' => true,
     //'log'          => [
     //    'type'             => 'file',  //支持 socket trace file
          //以下为socket类型配置
         //'host'             => '111.202.76.133',
         //日志强制记录到配置的client_id
         //'force_client_ids' => [],
         //限制允许读取日志的client_id
         //'allow_client_ids' => [],
     //],
    'log'          => [
         'type'             => 'file', 
     ],
    'theme_on'=>true,//模板主题
    'default_theme'=>'default',//默认主题
    'auto_detect_theme'=>true,//自动侦测模板主题 使用view类生效
    'list_numbers' =>10,
    'var_page'=>'p',
    'open_cloud_files'=>false,
    'sns_url'               => 'http://124.172.243.56:8080/sms/sendsms.jsp',//短信发送接口地址
    'sns_uname'             => 'zycx@zycx',//'ceshi@ceshi',//短信账号
    'sns_password'          => 'vL6NMt4j',//'0AwdpsjU',//短信密码
    'sns_timespan'          => 60,//短信发送间隔
    'sns_code_time'         => 1800,//短信验证码有效时间
    // 输出字符串替换
    'parse_str'     => [
        '__static__' => '/public/static/'.MODULE_NAME,
        '__public__' => '/public/static/public'
    ],
	'qiniu' => [
		'rtmp-push' => 'pili-publish.shante.me',
		'cdn-url' => 'http://pili-vod.shante.me',
		'hub-name' => 'shante-live',
		'snap-shot' => 'pili-live-snapshot.shante.me',
		'rtmp-play' => 'pili-live-rtmp.shante.me',
		'hls-play' => 'pili-live-hls.shante.me',
		'hdl-play' => 'pili-live-hdl.shante.me'
	],
	'stream_prefix' => 'zhibocloud_uid_', //流前缀
    'online_math'   => 5,
	'usid_prefix' => 'ThinkSNS_',
    'video_prefix'         =>'zb_',//保存的视频前缀
    'video_suffix'         =>'mp4',//保存的视频后缀,根据后缀名称进行转码
    'baidu_map_ak'         => 'cwfwkEX4FkfvR019OLGu4672',//百度地图授权ak
	'im' => [
		'service' => 'http://39.106.7.23',
		'port'	=> '9900'
	]
    
];
